package com.huawei.appmarket.service.store.awk.bean;

import androidx.annotation.Nullable;
import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;

public class AppWelfareListCardBean extends BaseDistCardBean implements Comparable<AppWelfareListCardBean> {
    private static final long serialVersionUID = 6435700874841434574L;
    private int campaignNum_;
    private int forumGiftNum_;
    private int giftNum_;
    private long lastUsedTime_;
    private int priority_;

    public /* synthetic */ int compareTo(Object obj) {
        return ˊ((AppWelfareListCardBean) obj);
    }

    public int ˊ() {
        return this.priority_;
    }

    public int ॱ() {
        return this.campaignNum_;
    }

    public int ʽ() {
        return this.giftNum_;
    }

    public int ꓸ() {
        return this.forumGiftNum_;
    }

    public long ㆍ() {
        return this.lastUsedTime_;
    }

    public void ˊ(long j) {
        this.lastUsedTime_ = j;
    }

    public int ˊ(AppWelfareListCardBean appWelfareListCardBean) {
        if (equals(appWelfareListCardBean)) {
            return 0;
        }
        if (this.priority_ < appWelfareListCardBean.ˊ()) {
            return -1;
        }
        if (this.priority_ == appWelfareListCardBean.ˊ()) {
            return Long.valueOf(this.lastUsedTime_).compareTo(Long.valueOf(appWelfareListCardBean.ㆍ())) * -1;
        }
        return 1;
    }

    public boolean equals(@Nullable Object obj) {
        return super.equals(obj);
    }

    public int hashCode() {
        return super.hashCode();
    }
}
